home *** CD-ROM | disk | FTP | other *** search
- library pSimpleBHO;
-
- uses
- ComServ,
- Windows,
- pSimpleBHO_TLB in 'pSimpleBHO_TLB.pas',
- uInfoBHO in 'uInfoBHO.pas',
- uBHOManager in 'uBHOManager.pas' {frmBHOManager};
-
- exports
- DllGetClassObject,
- DllCanUnloadNow,
- DllRegisterServer,
- DllUnregisterServer;
-
- {$R *.TLB}
-
- {$R *.RES}
- var
- Handle: HKey;
- Status, Disposition: Integer;
-
- begin
- Status := RegCreateKeyEx( HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Browser Helper Objects\{5476D9CC-444E-11D4-ACEF-080000178968}',
- 0, '', REG_OPTION_NON_VOLATILE, KEY_READ or KEY_WRITE, nil, Handle, @Disposition );
- if Status = 0 then
- begin
- Status := RegSetValueEx(Handle, PChar(''), 0, REG_SZ,
- PChar('InfoBHO'), Length('InfoBHO') + 1);
- RegCloseKey(Handle);
- end;
-
- end.
-